package com.uzai.console.entity;

import com.uzai.common.entity.BaseEntity;

/**
 * 充值卡库存表
 * 
 * @author liuqi
 * @email sunlightcs@gmail.com
 * @date 2022-01-02 11:03:41
 */
public class Cdkeys extends BaseEntity {

	private static final long serialVersionUID = -1058089181796282892L;

	/**
	 * 卡密
	 */
	private String card;
	/**
	 * 卡密类型(0试用卡密；1月卡；2年卡)
	 */
	private Integer type;
	/**
	 * 产品类型(0无效数据；1001=PC个人微信；1002=手机个人微信；1003=企业微信；1004=公众号；1005=小程序；1006=CMS；1007=APP)
	 */
	private Integer productType;
	/**
	 * 设备类型：0=个人微信(pc);1=个人微信(手机)；2=企业微信；3=个人微信(ipad)；5=小程序；6=公众号
	 */
	private Integer deviceTypeId;
	/**
	 * 卡密状态(0=入库；1=出库；2=作废)
	 */
	private Integer status;
	/**
	 * 出库订单编号
	 */
	private String exOrderId;
	/**
	 * 提卡人ID(代理id)
	 */
	private Long exUserId;
	/**
	 * 出库时间
	 */
	private Integer exTime;
	/**
	 * 乐观锁
	 */
	private Integer version;
	/**
	 * 备注(导入卡的备注)
	 */
	private String remark;
	/**
	 * 生成本张卡密的管理员
	 */
	private Long adminId;
	/**
	 * 使用时间
	 */
	private Integer useTime;

	/**
	 * 使用时间
	 */
	private String tradeno;

	/**
	 * 兑换码
	 */
	private String convertCode;

	/**
	 * 兑换该卡密对应的2.0旧卡密
	 */
	private String oldCard;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getCard() {
		return card;
	}

	public void setCard(String card) {
		this.card = card;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getProductType() {
		return productType;
	}

	public void setProductType(Integer productType) {
		this.productType = productType;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getExOrderId() {
		return exOrderId;
	}

	public void setExOrderId(String exOrderId) {
		this.exOrderId = exOrderId;
	}

	public Long getExUserId() {
		return exUserId;
	}

	public void setExUserId(Long exUserId) {
		this.exUserId = exUserId;
	}

	public Integer getExTime() {
		return exTime;
	}

	public void setExTime(Integer exTime) {
		this.exTime = exTime;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getAdminId() {
		return adminId;
	}

	public void setAdminId(Long adminId) {
		this.adminId = adminId;
	}

	public Integer getUseTime() {
		return useTime;
	}

	public void setUseTime(Integer useTime) {
		this.useTime = useTime;
	}

	public String getTradeno() {
		return tradeno;
	}

	public void setTradeno(String tradeno) {
		this.tradeno = tradeno;
	}

	public String getConvertCode() {
		return convertCode;
	}

	public void setConvertCode(String convertCode) {
		this.convertCode = convertCode;
	}

	public String getOldCard() {
		return oldCard;
	}

	public void setOldCard(String oldCard) {
		this.oldCard = oldCard;
	}

	public Integer getDeviceTypeId() {
		return deviceTypeId;
	}

	public void setDeviceTypeId(Integer deviceTypeId) {
		this.deviceTypeId = deviceTypeId;
	}
}
